package com.jp.knowledge.command.implement;

import android.content.Context;
import android.content.Intent;
import android.support.annotation.NonNull;

import com.jp.knowledge.activity.BusinessPlanActivity;
import com.jp.knowledge.command.Command;
import com.jp.knowledge.command.CommandReceiver;

/**
 * Created by 528787067@qq.com on 2017/6/17.
 *
 * 商业计划书功能
 */

public class ShangYeJiHuaShuGongNeng extends Command {

	public ShangYeJiHuaShuGongNeng(@NonNull CommandReceiver receivert) {
		super(receivert);
	}

	@Override
	public void execute() {
		Intent intent = createIntent(BusinessPlanActivity.class);
		try {
			intent.putExtra("name", "商业计划书");
			intent.putExtra("tabIndex", Integer.parseInt(parameterId));
		} catch (Exception e){} finally {
			startActivity(intent);
		}
	}
}
